package com.amazon.ags.client.leaderboards;

import com.amazon.ags.api.ErrorCode;
import com.amazon.ags.api.leaderboards.GetLeaderboardPercentilesResponse;
import com.amazon.ags.api.leaderboards.Leaderboard;
import com.amazon.ags.api.leaderboards.LeaderboardPercentileItem;
import com.amazon.ags.client.RequestResponseImp;
import java.util.List;

public class GetLeaderboardPercentilesResponseImp extends RequestResponseImp
  implements GetLeaderboardPercentilesResponse
{
  private final Leaderboard leaderboard;
  private final List<LeaderboardPercentileItem> percentileList;
  private final int userIndex;

  public GetLeaderboardPercentilesResponseImp(int paramInt, ErrorCode paramErrorCode)
  {
    super(paramInt, paramErrorCode);
    this.userIndex = -1;
    this.leaderboard = null;
    this.percentileList = null;
  }

  public GetLeaderboardPercentilesResponseImp(Leaderboard paramLeaderboard, List<LeaderboardPercentileItem> paramList, int paramInt1, int paramInt2)
  {
    super(paramInt2);
    this.userIndex = paramInt1;
    this.leaderboard = paramLeaderboard;
    this.percentileList = paramList;
  }

  public Leaderboard getLeaderboard()
  {
    return this.leaderboard;
  }

  public List<LeaderboardPercentileItem> getPercentileList()
  {
    return this.percentileList;
  }

  public int getUserIndex()
  {
    return this.userIndex;
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.amazon.ags.client.leaderboards.GetLeaderboardPercentilesResponseImp
 * JD-Core Version:    0.6.2
 */